package com.kzj.service.jpaRepository;

import com.kzj.pojo.Course;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CourseJpaRepository extends JpaRepository<Course, Long> {
    public List<Course> getCoursesByIdNotIn(List<Long> ids);
    public List<Course> getCoursesByIdIsIn(List<Long> ids);
    public List<Course> getCoursesByTeacherId(Long teacherId);
}
